#ifndef PROCESSPARENTFILTER_H
#define PROCESSPARENTFILTER_H

#include <vector>
#include "filter.h"

class CallerFilter : public Filter {
public:
    explicit CallerFilter(const std::vector<std::wstring> &untrustedAppList) : untrustedAppNameList(untrustedAppList)
    {}

    ~CallerFilter() override = default;

    bool Handle(const ProcessInfo &process) override;

    void Update() override;

private:
    std::vector<std::wstring> untrustedAppNameList;
};

#endif
